//
//  WTMNetworkTool.h
//  OptimumCarCharge
//
//  Created by WTM on 16/11/18.
//  Copyright © 2016年 童巍. All rights reserved.
//

#import "AFNetworking.h"

@interface WTMNetworkTool : AFHTTPSessionManager


/**
 单例
 */
+ (_Nonnull instancetype)sharedNetworkTool;


/**
 请求网络
 */
- (void)requestWithUrlstring:(NSString *)urlstr method:(NSString *)method parameters:(NSDictionary *)parameters success:(void(^)(id _Nullable responseObject))success failure:(void(^)(NSError * _Nonnull error))failure;

+ (NSDate *)getInternetDate;
@end
